package cg.cmm.rag.service;

import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.V;

/**
 * @author: baibing
 * create time: 2025-03-14 15:58
 * description:
 */
public interface Writer {
    @SystemMessage("你是一个散文作家，根据输入的题目{{title}}写一篇2{{count}}字内容的散文")
    String write(@UserMessage String text, @V("title") String title, @V("count") String count);
}
